package com.weishu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *  房屋信息实体类
 * @author liyan
 * @since 2021-07-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TbHouseInfo extends Model<TbHouseInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    //
    private Integer premisesId;

    private Integer leaseType;

    private String buildingNo;

    private String unitNo;

    private String roomNo;

    private String flatName;

    private Integer room;

    private Integer hall;

    private Double proportion;

    private Integer floor;

    private Integer floorCount;

    private Integer decorate;

    /**
     * 支付方式-押 1 押一 2 押二 3 押三
     */
    private Integer paymentMortgage;

    /**
     * 支付方式-付 1 付一 2 付二 3 付三 4 付四 5 付五 6 付六
     */
    private Integer paymentPay;

    private Integer manager;

    private Integer type;

    private String publicFacility;

    private String introduce;

    private Integer status;

    private Integer publishStatus;

    private String createTime;

    private String createBy;

    private Integer reserve1;

    private Integer reserve2;

    private String reserve3;

    private String reserve4;

    //图片
    private String reserve5;

    private Integer deptId;

    /**
     * 删除标识。0:未删除，1：删除
     */
    private Boolean delFlg;

    private LocalDateTime updateTime;


    //公共配套
    private Integer ggid;
    private String ggname;

    //房间配套
    private Integer fjid;
    private String fjname;
    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
